package com.cloud.open.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.common.bean.PageInfo;
import com.cloud.open.dto.ResourceTypeQueryParamDTO;
import com.cloud.open.entity.ResourceType;

import java.util.List;

/**
 * <p>
 *  资源分类服务类
 * </p>
 *
 * @author wenjin
 * @since 2019-09-25
 */
public interface ResourceTypeService extends IService<ResourceType> {

    boolean checkNameExist(String name, Integer ignoreId);

    List<ResourceType> getAll();

    PageInfo<ResourceType> getPage(ResourceTypeQueryParamDTO paramDTO);
}
